import Vue from 'vue'
import 'babel-polyfill'
import 'es6-promise/auto'
import Element from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import '@/styles/index.scss' // global css
import App from './App'
import store from './store'
import  './constant/permission'
import router from './router/index.js'
import '@/icons' // icon
Vue.use(Element, {
  size: 'medium'
})

new Vue({
  el: '#app',
  router,
  store,
  components: {
    app: App
  }
})
